Release 10.1A: OpenEdge Development:
Web Services


DATETIME

Table D–3 describes the supported castings in each 4GL parameter mode (INPUT and OUTPUT) between the 4GL DATETIME type and XML Schema.

Table D–3: 4GL data type cast—DATETIME 
For this XML Schema type...
In this 4GL parameter mode...
OpenEdge...
string  
normalizedString 
INPUT 
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules.
OUTPUT 
De-serializes the string value from the SOAP response message into the 4GL parameter as if the 4GL DATETIME( ) function was called on the string.
dateTime 
INPUT 
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules without a time zone.
OUTPUT 
De-serializes the XML Schema value from the SOAP response message into the 4GL parameter according to the XML Schema serialization rules with the value set to the local time adjusted from any time zone information (which is stripped away). If there is no time zone information the value is stored as is.
date 
INPUT 
Serializes the 4GL parameter into the SOAP request message according to the XML Schema serialization rules. The time part of the DATETIME value is lost.
OUTPUT 
De-serializes the XML Schema value from the SOAP response message into the 4GL parameter according to the XML Schema serialization rules with the date adjusted for any time zone information (which is stripped away). The 4GL DATETIME value has the time set to 12:00 midnight.


Copyright © 2005 Progress Software Corporation
www.progress.com
Voice: (781) 280-4000
Fax: (781) 280-4095